package com.funtl.apache.dubbo.provider.service.impl;

import com.funtl.apache.dubbo.provider.api.domain.TbOrder;
import com.funtl.apache.dubbo.provider.api.service.api.TbOrderService;
import com.funtl.apache.dubbo.provider.dao.TbOrderDao;
import org.apache.dubbo.config.annotation.Service;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.transaction.annotation.Transactional;

@Service(version = "1.0.0")
public class TbOrderServiceImpl implements TbOrderService {
    @Autowired
    private TbOrderDao tbOrderDao;

    @Transactional
    @Override
    public void insert(TbOrder tbOrder) {
        tbOrderDao.insert(tbOrder);
    }
}
